According to "3GPP TS 27.007 (GSM 07.07): AT command set for User Equipment (UE)",
ATS0 is also used as GPRS compatibility command to answer automatically to a network request for PDP context activation (see Section
11.21). Therefore, when the
ATS0 write command is issued with
<n> greater than 0, the ME will attempt to perform a GPRS attach if not yet attached and if configured to do so (due to the setting
AT^SCFG="GPRS/ATS0/withAttach","on").
If the automatic GPRS attach fails the ME keeps trying to attach for approx. 5 minutes, before
ATS0 ends up with "ERROR" or "+CME ERROR: unknown", though the new
<n> value takes effect. To avoid the risk of long response times to
ATS0 in such case take care that the parameter
AT^SCFG=
<gs0aa> is off, if autoanswer mode is not needed for GPRS or if the mobile works in non-GPRS networks.
The GPRS attach will not be performed on recalling a stored user profile with
ATZ or on powerup, even though a value
<n> greater than 0 was stored in the user profile with
AT&W.